package com.heima.task;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @BelongsProject: heima-leadnews
 * @BelongsPackage: com.heima.task
 * @Author: wangjian
 * @CreateTime: 2022-07-07  17:46
 * @Description: TODO
 * @Version: 1.0
 */
@SpringBootApplication
@EnableScheduling // 开启定时任务
public class TaskDemo {
    public static void main(String[] args) {
        SpringApplication.run(TaskDemo.class, args);
    }
}
